<%@ page language="Java" import="java.util.*,descriptor.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%
	MarkerDescriptor marker = (MarkerDescriptor)request.getAttribute("marker");
	String res = (String)request.getAttribute("result");

%>
<html>
	<jsp:include page="markerHeader.jsp" >
		<jsp:param name="pageTitle" value="Work Placement Management System - Marker" />
	</jsp:include>
	<body OnLoad="showmenu(document.getElementById('smenu2'));">
		<jsp:include page="markerPageHeader.jsp"></jsp:include>
		<div id="container">
			<jsp:include page="markerMenu.jsp" ></jsp:include>
			<div id="content">
			<h3 class="posttitle">Adjust your settings</h3>
				<div class="entry">
				
				
		<h3><%=res%></h3><br/>
		<form action="markerPage_handler" method="post">
		<table>
		<tr><td>SurName :</td><td><input type="text" name="surName" value="<%= marker.getName()%>" /></td></tr>
		<tr><td>FirstName :</td><td><input type="text" name="firstName" value="<%= marker.getFirstName()%>"/></td></tr>
		<tr><td></td><td></td></tr>
		<tr><td>Password :</td><td><input type="password" name="passwd" value ="" /></td></tr>
		<tr><td>Retype your Password :</td><td><input type="password" name="passwd2" value ="" /></td></tr>
		<tr><td></td><td></td></tr>
		<tr><td>Email :</td><td><input type="text" name="email" value="<%= marker.getMail()%>"/></td></tr>
		</table>
		<input type="hidden" name="page" value="setSettings" />
		<button type="submit">Change</button>
		</form>
				
				
				</div>
	    	</div>
			<jsp:include page="markerPageFooter.jsp"></jsp:include>
		</div>
	</body>
</html>